//
//  DJMessageModel.h
//  daojiVideo
//
//  Created by tikeios_002 on 2024/5/21.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@interface DJMessageLastData : NSObject
@property (nonatomic, copy) NSNumber *id;
@property (nonatomic, copy) NSNumber *type;
@property (nonatomic, copy) NSNumber *mid;
@property (nonatomic, copy) NSNumber *tomid;
@property (nonatomic, copy) NSNumber *videoid;
@property (nonatomic, copy) NSNumber *comid;
@property (nonatomic, copy) NSString *msg;
@property (nonatomic, copy) NSString *titles;
@property (nonatomic, copy) NSString *comment;
@property (nonatomic, copy) NSString *createtime;
@property (nonatomic, copy) NSNumber *is_look;
@property (nonatomic, copy) NSNumber *pid;
@property (nonatomic, copy) NSString *nickname;
@property (nonatomic, copy) NSString *face;
@property (nonatomic, copy) NSArray *face_list;
@property (nonatomic, strong) NSURL *faceUrl;

@property (nonatomic, copy) NSNumber *num;
@property (nonatomic, assign) BOOL msgMax;
@property (nonatomic, assign) BOOL hasNum; //是否有attr
@property (nonatomic, strong) NSString *numTxt;

@property (nonatomic, assign) BOOL hasLastMessage;
@property (nonatomic, assign) NSInteger m_type; //0 粉丝 1 、互动 2。钱包 3.服务消息 4.官方 5。系统
@property (nonatomic, strong) NSString *m_title;
@property (nonatomic, strong) NSString *m_sub_title;
@property (nonatomic, strong) NSString *m_attr_subTitle;

@property (nonatomic, strong) NSMutableAttributedString *emjioAttr;
@end

@interface DJMessageModel : NSObject
@property (nonatomic, strong) DJMessageLastData *fansData;
@property (nonatomic, strong) DJMessageLastData *interactionData;
@property (nonatomic, strong) DJMessageLastData *teamData;
@property (nonatomic, strong) DJMessageLastData *systemData;
@end

NS_ASSUME_NONNULL_END
